|
|
|
|
<Connection variable>.CloseConnection (Function) In french: <Variable Connexion>.FermeConnexion
Not available with this kind of connection
Closes a connection to a database. All data files using this connection are closed. // Describe the connection MyConnection is Connection  MyConnection.OpenConnection()  // Specify that "Salaries" uses the new connection Salaries.ChangeConnection(MyConnection)  // Start looping through the "Salaries" table on SQLServer Salaries.ReadFirst() ...  // Close the connection MyConnection.CloseConnection()
Syntax
<Result> = <Connection>.CloseConnection()
<Result>: Boolean - True if the operation was performed,
- False if a problem occurs. HErrorInfo is used to identify the error.
<Connection>: Connection variable Name of the Connection variable that describes the connection to a database. Remarks The description of the connection must be known when<Connection variable>.CloseConnection is executed.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|